﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace KDG.FoldersSize
{
    /// <summary>
    /// Логика взаимодействия для App.xaml
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            ScannedDoc sd = new ScannedDoc();
            sd.RootPath = "jdfkdjfk";
            WindowMain wm = new WindowMain();
            wm.Model = sd;
            wm.DataContext = wm;


            // for test
            sd.Root = new KDG.FoldersSize.Scanner.ScannerItem("asdasdasd", "");
            sd.Root.Length = 23423;
            sd.Root.FoldersCount = 234;
            sd.Root.FilesCount = 22;
            // - for test

            wm.Show();
        }
    }
}
